package com.example.bootup;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class BootupImplApplicationRunner implements ApplicationRunner {
    private Logger logger = LoggerFactory.getLogger(BootupImplApplicationRunner.class);
    @Override
    public void run(ApplicationArguments args) throws Exception {
        logger.info("启动后执行");
    }
}
